<template>
	<view class="userhome pageBg">
		<!-- <nav-top></nav-top> -->
		<view class="userinfo">
			<view class="userimages">
				<image src="../../static/img/user.png" mode="aspectFill"></image>
			</view>
			<view class="ip">192.168.0.1</view>
			<view class="address">来自：广西</view>
		</view>

		<view class="section">
			
			<view class="list">
				
				<navigator url="/pages/classlist/classlist" class="row">
					<view class="left">
						<uni-icons type="hand-up-filled" size="18" color="#28b389"></uni-icons>
						<view class="text">我的下载</view>
					</view>
					<view class="right">
						<view class="text">12</view>
						<uni-icons type="forward" size="18" color="#28b389"></uni-icons>
					</view>
				</navigator>
				
				<navigator url="/pages/classlist/classlist" class="row">
					<view class="left">
						<uni-icons type="hand-up-filled" size="18" color="#28b389"></uni-icons>
						<view class="text">我的评分</view>
					</view>
					<view class="right">
						<view class="text"></view>
						<uni-icons type="forward" size="18" color="#28b389"></uni-icons>
					</view>
				</navigator>
				
				<view class="row">
					<view class="left">
						<uni-icons type="hand-up-filled" size="18" color="#28b389"></uni-icons>
						<view class="text">联系客服</view>
					</view>
					<view class="right">
						<view class="text"></view>
						<uni-icons type="forward" size="18" color="#28b389"></uni-icons>
					</view>
					<button open-type="contact">联系客服</button>
				</view>
				
			</view>
		</view>

		<view class="section">
			<view class="list">
				<view class="row" v-for="item in 2">
					<view class="left">
						<uni-icons type="hand-up-filled" size="18" color="#28b389"></uni-icons>
						<view class="text">我的下载</view>
					</view>
					<view class="right">
						<view class="text">12</view>
						<uni-icons type="forward" size="18" color="#28b389"></uni-icons>
					</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script setup>
	
	
</script>

<style lang="scss" scoped>
.userhome {
	.userinfo {
		display: flex;
		align-items: center;
		justify-content: center;
		flex-direction: column;
		padding: 50rpx 0;
		.userimages {
			width: 150rpx;
			height: 150rpx;
			border-radius: 50%;
			overflow: hidden;
			image {
				width: 100%;
				height: 100%;
			}
		}
		.ip {
			font-size: 40rpx;
			color: #333;
			padding: 20rpx 0 5rpx;
		}
		.address {
			font-size: 25rpx;
			color: #aaa;
		}
	}
}

.section{
	width: 680rpx;
	margin: 50rpx auto;
	border: 1rpx solid #eee;
	border-radius: 10rpx;
	box-shadow: 0 0 30rpx rgba(0, 0, 0,0.06);
	.list{
		.row{
			position: relative;
			background: #fff;
			display: flex;
			justify-content: space-between;
			align-items: center;
			padding: 0 30rpx;
			height: 100rpx;
			border-bottom: 1px solid #eee;
			&:last-child{border-bottom: 0}
			.left{
				display: flex;
				align-items: center;
				.text{
					padding-left: 19rpx;
					color: #666;
				}
			}
			.right{
				display: flex;
				align-items: center;
				.text{
					font-size: 25rpx;
					padding-left: 19rpx;
					color: #aaa;
				}
			}
			button{
				position: absolute;
				top: 0;
				left: 0;
				height: 100rpx;
				width: 100%;
				opacity: 0;
			}
		}
	}
	
}
</style>
